Spread WPF Documentation
Remove Method (NotifyCollectionBase<T>)


GrapeCity.Windows.SpreadSheet.Data Namespace > NotifyCollectionBase<T> Class : Remove Method
The item to remove from the collection.
Removes the specified item from the collection.
Syntax
'Declaration
 
Public Overridable Function Remove( _
   ByVal item As T _
) As System.Boolean
'Usage
 
Dim instance As NotifyCollectionBase(Of T)
Dim item As T
Dim value As System.Boolean
 
value = instance.Remove(item)
public virtual System.bool Remove( 
   T item
)

Parameters

item
The item to remove from the collection.

Return Value

true if the item is successfully removed; otherwise, false.
Exceptions
ExceptionDescription
The collection is read-only.
See Also

Reference

NotifyCollectionBase<T> Class
NotifyCollectionBase<T> Members